import request from '@/utils/request'

// 查询阿米巴小组列表
export function listAmoeba(query) {
  return request({
    url: '/mis/amoeba/list',
    method: 'get',
    params: query
  })
}

// 查询阿米巴小组详细
export function getAmoeba(id) {
  return request({
    url: '/mis/amoeba/' + id,
    method: 'get'
  })
}

// 新增阿米巴小组
export function addAmoeba(data) {
  return request({
    url: '/mis/amoeba',
    method: 'post',
    data: data
  })
}

// 修改阿米巴小组
export function updateAmoeba(data) {
  return request({
    url: '/mis/amoeba',
    method: 'put',
    data: data
  })
}

// 删除阿米巴小组
export function delAmoeba(id) {
  return request({
    url: '/mis/amoeba/' + id,
    method: 'delete'
  })
}
